package com.hub.entity.asset;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hub.utils.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author hub
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@TableName("asset_region_info")
public class RegionInfoEntity extends BaseEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 区域名
     */
    private String regionName;

    /**
     * 上级区域ID
     */
    private int parentId;
}
